/*******************************************************************************
 * Package: com.hngtrust.iir.risk.service
 * Type:    ExcelDownloadSevice
 * Date:    2021/7/22 19:52
 *
 * Copyright (c) 2021 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.risk.service;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 导出excel服务类实现类
 *
 * @author Keqiwei
 * @date 2021/7/22 19:52
 */
public interface ExcelDownloadService {
    <T> void excelDownload(List<T> dataList, HttpServletResponse response, String fileName) throws Exception;
    <T> void excelDownload(List<T> dataList, HttpServletResponse response, String fileName, Boolean isCreateHeadRows) throws Exception;
}
